package com.reggie.console.convertor;

import com.reggie.acl.dataobject.Employee;
import com.reggie.console.dto.EmployeeDTO;
import com.reggie.console.dto.EmployeeDetailDTO;
import org.mapstruct.Mapper;

/**
 * @author yth
 * @since 2023-06-11-18:40
 */
@Mapper(componentModel = "spring")
public interface EmployeeConvertor {

    EmployeeDTO toDTO(Employee employee);

    EmployeeDetailDTO toDetailDTO(Employee employee);

}
